<script setup>
import {useRouter} from "vue-router";
import PageBack from "@/components/common/pageBack/pageBack.vue";
import BannerWave from "@/components/common/bannerwave/bannerwave.vue";

const router = useRouter();
const goHome = () => {
  router.push("/");
};

</script>

<template>
  <article>
    <!-- 页面背景组件 -->
    <PageBack video="/2023/12/16/huo-huo.mp4"></PageBack>
    <div class="jia-main">
      <div class="content myCenter">
        <div class="content-fount" style="display:flex;">
          <div class="jia-main-img jia-item">
            <img src="@/assets/img/not-found/404.svg" alt="NotFound">
          </div>
          <div class="jia-text myCenter">
            <h1>404</h1>
            <div class="msg">你查看的页面貌似丢失了呢...</div>
            <div class="action">
              <el-tag class="ml-2" type="success" @click="goHome">
                返回首页
              </el-tag>
            </div>
          </div>
        </div>
      </div>
      <BannerWave></BannerWave>
    </div>
  </article>
</template>

<style scoped lang="less">
article {
  position: relative;
  width: 100%;
  min-height: 100vh;

  .jia-main {
    position: relative;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    user-select: none;
    overflow: hidden;

    .content {
      width: 100%;
      height: 100vh;

      .content-fount {
        width: 1000px;
        height: 500px;
        border-radius: 20px;
        background: var(--background2);
        box-shadow: 0 0 50px 0 rgba(146, 146, 146, 0.63);

        .jia-main-img {
          width: 500px;
          background-color: rgba(253, 216, 168, 0.692);
          border-top-left-radius: 20px;
          border-bottom-left-radius: 20px;
        }

        .jia-text {
          width: 500px;
          flex-direction: column;

          h1 {
            font-size: 100px;
          }

          .msg {
            font-size: 18px;
            text-align: center;
            font-weight: 200;
            margin-bottom: 20px;
          }

          .action {
            font-size: 15px;
            font-weight: 200;
            text-align: center;
            text-decoration-line: underline;
            cursor: pointer;
          }
        }
      }
    }
  }
}
</style>